﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AdminRoles.aspx.cs" Inherits="Presentacion.AdminRoles" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <br />
    <b><h2>User: 
        <asp:Label ID="lblUsuario" runat="server"></asp:Label>
        </h2></b>
        <br />
        <table>
            <tr>
                <td>
                    <b>Roles Disponibles:</b>
                    <br />
                    <asp:ListBox ID="lbRoles" runat="server" Rows="10" Width="110px"></asp:ListBox>           
                </td>
                <td>
                    <asp:Button ID="btnAgregar" runat="server" Text="&gt;&gt;" 
                        onclick="btnAgregar_Click" /><br />
                    <asp:Button ID="btnQuitar" runat="server" Text="&lt;&lt;" 
                        onclick="btnQuitar_Click" />
                </td>
                <td>
                    <b>Roles del Usuario:</b> 
                    <br />
                    <asp:ListBox ID="lbRolesForUser" runat="server" Rows="10" Width="110px"></asp:ListBox>
                </td>
             </tr>
        </table>
        <br />
        <b>Crear Rol: </b>
    <asp:TextBox ID="txtNewRol" runat="server"></asp:TextBox>
    <asp:Button ID="btnCrearRol" runat="server" Text="Crear Rol" 
        onclick="btnCrearRol_Click" />
    <br />
    <asp:Label ID="lblMsgError" runat="server" ForeColor="Red"></asp:Label>
    </b>
    <br />
</asp:Content>
